package math.base;

/**
 * @author Saga
 *
 */
public class Axis3d {
    public Axis3d() {
    }

    public Axis3d(final Point3d _origin, final Dir3d _dir) {
        this.origin = _origin;
        this.direct = _dir;
    }

    public final void setOrigin(final Point3d _origin) {
        this.origin = _origin;
    }

    public final Point3d getOrigin() {
        return this.origin;
    }

    public final void setDirect(final Dir3d _dir) {
        this.direct = _dir;
    }

    public final Dir3d getDirect() {
        return this.direct;
    }

    @Override
    public final Axis3d clone() {
        return new Axis3d(this.origin.clone(), this.direct.clone());
    }

    private Point3d origin;
    private Dir3d direct;
}
